<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Azure Config Generator: AzureConfig.cs Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Azure Config Generator
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_89f88bc521cc363a696084f967541f32.html">AzureConfGen</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">AzureConfig.cs</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d6/d41/_azure_config_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="keyword">using</span> System;</div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="keyword">using</span> System.Collections.Generic;</div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="keyword">using</span> System.Linq;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="keyword">using</span> System.Text;</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="keyword">using</span> System.Threading.Tasks;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="../../df/d91/namespace_f_u_s_e_1_1_azure_config_1_1_tasks.html">    7</a></span>&#160;<span class="keyword">namespace </span>FUSE.<a class="code" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html">AzureConfig</a>.Tasks</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html">   12</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html">AzureConfig</a></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    {</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#af4c80bfa1b832fb46c86b586187754f6">   14</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#af4c80bfa1b832fb46c86b586187754f6">AzureConfig</a>(<span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;        {</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;            this.Name = name;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;            this.Roles = <span class="keyword">new</span> Dictionary&lt;string, AzureRoleDetails&gt;();</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;            this.Environments = <span class="keyword">new</span> Dictionary&lt;string, AzureEnvironment&gt;();</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        }</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#abf86bb06e4480ef171ddeba9ae95188b">   21</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#abf86bb06e4480ef171ddeba9ae95188b">AzureConfig</a>(<span class="keywordtype">string</span> name, </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;            IDictionary&lt;string, AzureRoleDetails&gt; roles,</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;            IDictionary&lt;string, AzureEnvironment&gt; envs)</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;        {</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;            this.Name = name;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;            this.Roles = roles;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;            this.Environments = envs;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        }</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#a9e3be4de53ab992b7487ff514cef9591">   30</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#a499325d94e1e1e65924c18749893601b">   32</a></span>&#160;        <span class="keyword">public</span> IDictionary&lt;string, AzureRoleDetails&gt; Roles { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#a577ed5f758f65091d6fdafb3ebe8a8ad">   34</a></span>&#160;        <span class="keyword">public</span> IDictionary&lt;string, AzureEnvironment&gt; Environments { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    }</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html">   37</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html">AzureRoleDetails</a></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    {</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html#a7f4dbef983f5dd3af75c1b36062d9da7">   39</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html#a7f4dbef983f5dd3af75c1b36062d9da7">AzureRoleDetails</a>(<span class="keywordtype">string</span> roleName)</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        {</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            this.RoleName = roleName;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            this.ConfigurationSettingKeys = <span class="keyword">new</span> HashSet&lt;string&gt;();</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        }</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html#a792b31ea8fcdd20b2c280f9133c61646">   45</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> RoleName { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html#a1653bcd121deedaeef2ef4b3abbad6df">   47</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> RoleType { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html#abae0332cf9b57cf308458630e0e38aad">   49</a></span>&#160;        <span class="keyword">public</span> ISet&lt;string&gt; ConfigurationSettingKeys { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html">   52</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html">AzureEnvironment</a></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    {</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html#a849305b17e16bef447b88aae8af7358d">   54</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html">AzureEnvironment</a> <a class="code" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html#a849305b17e16bef447b88aae8af7358d">FromParent</a>(<span class="keywordtype">string</span> envName, <a class="code" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html">AzureEnvironment</a> parent)</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            var env = <span class="keyword">new</span> <a class="code" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html">AzureEnvironment</a>(envName);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;            <span class="keywordflow">foreach</span> (var r <span class="keywordflow">in</span> parent.Roles)</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;            {</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                var newR = <span class="keyword">new</span> <a class="code" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html">AzureRoleEnvironmentDetails</a>(r.Value.Details);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                newR.Instances = r.Value.Instances;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                newR.ConfigSettings.AddSettings(r.Value.ConfigSettings.Settings);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;                newR.ConfigSettings.AddMissing(r.Value.ConfigSettings.MissingSettings);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;                env.Roles.Add(r.Key, newR);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;            }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;            <span class="keywordflow">return</span> env;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        }</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html#ac7200ac32ec46065ce7fd96d34469a5b">   69</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html#ac7200ac32ec46065ce7fd96d34469a5b">AzureEnvironment</a>(<span class="keywordtype">string</span> envName)</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;            this.EnvName = envName;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;            this.Roles = <span class="keyword">new</span> Dictionary&lt;string, AzureRoleEnvironmentDetails&gt;();</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        }</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html#a151b4b1e87dc26bcdf6fbdcf84f7a94d">   75</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> EnvName { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html#ad79976e690a494122c88605ec04cd916">   77</a></span>&#160;        <span class="keyword">public</span> IDictionary&lt;string, AzureRoleEnvironmentDetails&gt; Roles { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    }</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html">   80</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html">AzureRoleEnvironmentDetails</a></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    {</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html#a778f86e368533b514a1b7bfd803d04dd">   82</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html#a778f86e368533b514a1b7bfd803d04dd">AzureRoleEnvironmentDetails</a>(<a class="code" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html">AzureRoleDetails</a> roleDetails)</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            this.Details = roleDetails;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;            this.ConfigSettings = <span class="keyword">new</span> <a class="code" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html">AzureConfigSettings</a>();</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        }</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html#a8df850223a70624e02b72bec2876e25d">   88</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html">AzureRoleDetails</a> Details { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html#a828faa759661faa4ffd4cfee3b6a3f8c">   90</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> RoleName { <span class="keyword">get</span> { <span class="keywordflow">return</span> this.Details.RoleName; } }</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html#a3e729f36e14a324764cecda2bf4f3a0e">   92</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> Instances { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html#a526c19678a229794c22576cf9180009d">   94</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html">AzureConfigSettings</a> ConfigSettings { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    }</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html">   97</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html">AzureConfigSettings</a></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    {</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#ae1c2dcd80ab9e4903ec93847e32a677e">   99</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#ae1c2dcd80ab9e4903ec93847e32a677e">AzureConfigSettings</a>()</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        {</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;            this.Settings = <span class="keyword">new</span> Dictionary&lt;string, string&gt;();</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        }</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#ae5b9d5272456c74642f87f20cb577615">  104</a></span>&#160;        <span class="keyword">public</span> IDictionary&lt;string, string&gt; Settings { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        <span class="keyword">private</span> HashSet&lt;string&gt; _missing = <span class="keyword">new</span> HashSet&lt;string&gt;();</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <span class="keyword">public</span> ISet&lt;string&gt; MissingSettings</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#a1bcf034eafaacfd96f4008f62a26797f">  109</a></span>&#160;        {</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            {</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                var found = _missing.Intersect(this.Settings.Keys);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;                <span class="keywordflow">if</span> (found.Any())</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;                {</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;                    _missing = <span class="keyword">new</span> HashSet&lt;string&gt;(_missing.Except(found));</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;                }</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;                <span class="keywordflow">return</span> _missing;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;            }</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        }</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#a39084b8a2ebdb6e6eaf40677e5d7f7f3">  121</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#a39084b8a2ebdb6e6eaf40677e5d7f7f3">AddSettings</a>(IDictionary&lt;string, string&gt; settings)</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        {</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;            <span class="keywordflow">foreach</span> (var s <span class="keywordflow">in</span> settings)</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                this.Settings[s.Key] = s.Value;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        }</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#a56f38b124a3b60ef334af283559496b5">  127</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#a56f38b124a3b60ef334af283559496b5">AddMissing</a>(ISet&lt;string&gt; possiblyMissing)</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;            <span class="keywordflow">foreach</span> (var m <span class="keywordflow">in</span> possiblyMissing.Except(<span class="keyword">this</span>.Settings.Keys))</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                this.MissingSettings.Add(m);</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        }</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    }</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;}</div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_html_abf86bb06e4480ef171ddeba9ae95188b"><div class="ttname"><a href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#abf86bb06e4480ef171ddeba9ae95188b">FUSE.AzureConfig.Tasks.AzureConfig.AzureConfig</a></div><div class="ttdeci">AzureConfig(string name, IDictionary&lt; string, AzureRoleDetails &gt; roles, IDictionary&lt; string, AzureEnvironment &gt; envs)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00021">AzureConfig.cs:21</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details_html_a778f86e368533b514a1b7bfd803d04dd"><div class="ttname"><a href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html#a778f86e368533b514a1b7bfd803d04dd">FUSE.AzureConfig.Tasks.AzureRoleEnvironmentDetails.AzureRoleEnvironmentDetails</a></div><div class="ttdeci">AzureRoleEnvironmentDetails(AzureRoleDetails roleDetails)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00082">AzureConfig.cs:82</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment_html"><div class="ttname"><a href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html">FUSE.AzureConfig.Tasks.AzureEnvironment</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00052">AzureConfig.cs:52</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment_html_ac7200ac32ec46065ce7fd96d34469a5b"><div class="ttname"><a href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html#ac7200ac32ec46065ce7fd96d34469a5b">FUSE.AzureConfig.Tasks.AzureEnvironment.AzureEnvironment</a></div><div class="ttdeci">AzureEnvironment(string envName)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00069">AzureConfig.cs:69</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_html"><div class="ttname"><a href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html">FUSE.AzureConfig.Tasks.AzureConfig</a></div><div class="ttdoc">Processed Azure configuration </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00012">AzureConfig.cs:12</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details_html_a7f4dbef983f5dd3af75c1b36062d9da7"><div class="ttname"><a href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html#a7f4dbef983f5dd3af75c1b36062d9da7">FUSE.AzureConfig.Tasks.AzureRoleDetails.AzureRoleDetails</a></div><div class="ttdeci">AzureRoleDetails(string roleName)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00039">AzureConfig.cs:39</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details_html"><div class="ttname"><a href="../../d5/d74/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_details.html">FUSE.AzureConfig.Tasks.AzureRoleDetails</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00037">AzureConfig.cs:37</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings_html_ae1c2dcd80ab9e4903ec93847e32a677e"><div class="ttname"><a href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#ae1c2dcd80ab9e4903ec93847e32a677e">FUSE.AzureConfig.Tasks.AzureConfigSettings.AzureConfigSettings</a></div><div class="ttdeci">AzureConfigSettings()</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00099">AzureConfig.cs:99</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings_html_a56f38b124a3b60ef334af283559496b5"><div class="ttname"><a href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#a56f38b124a3b60ef334af283559496b5">FUSE.AzureConfig.Tasks.AzureConfigSettings.AddMissing</a></div><div class="ttdeci">void AddMissing(ISet&lt; string &gt; possiblyMissing)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00127">AzureConfig.cs:127</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details_html"><div class="ttname"><a href="../../db/d0c/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_role_environment_details.html">FUSE.AzureConfig.Tasks.AzureRoleEnvironmentDetails</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00080">AzureConfig.cs:80</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings_html"><div class="ttname"><a href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html">FUSE.AzureConfig.Tasks.AzureConfigSettings</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00097">AzureConfig.cs:97</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings_html_a39084b8a2ebdb6e6eaf40677e5d7f7f3"><div class="ttname"><a href="../../d8/dc7/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_settings.html#a39084b8a2ebdb6e6eaf40677e5d7f7f3">FUSE.AzureConfig.Tasks.AzureConfigSettings.AddSettings</a></div><div class="ttdeci">void AddSettings(IDictionary&lt; string, string &gt; settings)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00121">AzureConfig.cs:121</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config_html_af4c80bfa1b832fb46c86b586187754f6"><div class="ttname"><a href="../../de/db1/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_config.html#af4c80bfa1b832fb46c86b586187754f6">FUSE.AzureConfig.Tasks.AzureConfig.AzureConfig</a></div><div class="ttdeci">AzureConfig(string name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00014">AzureConfig.cs:14</a></div></div>
<div class="ttc" id="class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment_html_a849305b17e16bef447b88aae8af7358d"><div class="ttname"><a href="../../d9/d55/class_f_u_s_e_1_1_azure_config_1_1_tasks_1_1_azure_environment.html#a849305b17e16bef447b88aae8af7358d">FUSE.AzureConfig.Tasks.AzureEnvironment.FromParent</a></div><div class="ttdeci">static AzureEnvironment FromParent(string envName, AzureEnvironment parent)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d41/_azure_config_8cs_source.html#l00054">AzureConfig.cs:54</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Feb 3 2014 17:37:45 for Azure Config Generator by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
